<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('价格')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="row" style="margin-bottom: 0.5rem;">
                <div class="col-xs-12">
                    <label>
                        <input type="checkbox" id="js_Unifiedprice" name="row[is_unified_price]" value="1"> 统一价格
                    </label>
                </div>
            </div>
            <div class="row hidden" id="one_price" style="margin-bottom: 1rem;">
                <div class="col-xs-4">
                    <div class="input-group">
                      <span class="input-group-addon" id="sizing-addon2">{:__('统一价格')}</span>
                      <input id="c-unified_price" class="form-control" name="row[unified_price]" type="number" min="0" value="">
                    </div>
                </div>
            </div>
            <div class="row multiple_prices" style="margin-bottom: 1rem;">
                <div class="col-xs-3">
                    <div class="input-group">
                      <span class="input-group-addon" id="sizing-addon2">{:__('Monday_price')}</span>
                      <input id="c-monday_price" class="form-control" name="row[monday_price]" type="number" min="0">
                    </div>
                </div>
                <div class="col-xs-3">
                    <div class="input-group">
                      <span class="input-group-addon" id="sizing-addon2">{:__('Tuesday_price')}</span>
                      <input id="c-tuesday_price" class="form-control" name="row[tuesday_price]" type="number" min="0">
                    </div>
                </div>
                <div class="col-xs-3">
                    <div class="input-group">
                      <span class="input-group-addon" id="sizing-addon2">{:__('Wednesday_price')}</span>
                      <input id="c-wednesday_price" class="form-control" name="row[wednesday_price]" type="number" min="0">
                    </div>
                </div>
                <div class="col-xs-3">
                    <div class="input-group">
                      <span class="input-group-addon" id="sizing-addon2">{:__('Thursday_price')}</span>
                      <input id="c-thursday_price" class="form-control" name="row[thursday_price]" type="number" min="0">
                    </div>
                </div>
            </div>
            <div class="row multiple_prices" style="margin-bottom: 1rem;">
                <div class="col-xs-3">
                    <div class="input-group">
                      <span class="input-group-addon" id="sizing-addon2">{:__('Friday_price')}</span>
                      <input id="c-friday_price" class="form-control" name="row[friday_price]" type="number" min="0">
                    </div>
                </div>
                <div class="col-xs-3">
                    <div class="input-group">
                      <span class="input-group-addon" id="sizing-addon2">{:__('Saturday_price')}</span>
                      <input id="c-saturday_price" class="form-control" name="row[saturday_price]" type="number" min="0">
                    </div>
                </div>
                <div class="col-xs-3">
                    <div class="input-group">
                      <span class="input-group-addon" id="sizing-addon2">{:__('Sunday_price')}</span>
                      <input id="c-sunday_price" class="form-control" name="row[sunday_price]" type="number" min="0">
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="form-group hidden">
        <label class="control-label col-xs-12 col-sm-2">{:__('Hour_room_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-hour_room_price" class="form-control" name="row[hour_room_price]" type="number">
        </div>
    </div>
    <div class="form-group hidden">
        <label class="control-label col-xs-12 col-sm-2">{:__('Timeout_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-timeout_price" class="form-control" name="row[timeout_price]" type="number">
        </div>
    </div>
    <div class="form-group hidden">
        <label class="control-label col-xs-12 col-sm-2">{:__('Meal_coupon_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-meal_coupon_num" class="form-control" name="row[meal_coupon_num]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Deposit')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-deposit" class="form-control" step="0.01" name="row[deposit]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remarks')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-remarks" class="form-control" name="row[remarks]"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('State')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select id="c-state" class="form-control" name="row[state]">
                <option value="0">未审核</option>
                <option value="1">已审核</option>
                <option value="-1">已删除</option>
            </select>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
